package com.scut.graduation.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * mybatis配置类
 * @author xiaoliang
 * @date 2022/05/24 17:37
 **/
@Configuration
@EnableTransactionManagement // 开启事务支持，一定要加@Configuration才能生效
@MapperScan(basePackages = "com.scut.graduation.dao")
public class MybatisConfig {


}
